package com.mustafaiev.tair.cts.tapestry.message;

/**
 * @author tair
 * 
 */
public interface ICostTrackingSystemMessageService {

    /**
     * Adds message to validation result.
     * 
     * @param messageKey
     */
    void addMessage(String messageKey);

    /**
     * Adds message with level to validation result.
     * 
     * @param messageKey
     * @param messageLevel
     */
    void addMessage(String messageKey, MessageLevel messageLevel);

    /**
     * Gets message by key
     * 
     * @param messageKey
     * @return
     */
    String getMessage(String messageKey);

}
